package model

func (Role) TableName() string {
	return "role"
}

type Role struct {
	Name    string `gorm:"size:40;unique;not null"`
	Role    uint8  `gorm:"not null;default:1"` // 0: super admin, 1: normal user
	Comment string `gorm:"not null;default:''"`
	Model
}
